package cn;

import com.interview.javabasic.JUC.A;

import java.util.*;

/*
@李子宁
Happy,happy everyday!
冲鸭！
2020/9/17
*/

public class tets {
    public static void main(String[] args){
        String s = null;
        System.out.println(s.replace("T", ""));

    }
    public static void getResult(int[] arr){
        ArrayList<Integer> list1 = new ArrayList<>();
        ArrayList<Integer> list2 = new ArrayList<>();
        for (int i : arr) {
            if (i % 2 == 0){
                list2.add(i);
            }else{
                list1.add(i);
            }
        }
        Comparator<? super Integer> comparator = new Comparator<Integer>() {
            @Override
            public int compare(Integer o1, Integer o2) {
                return o1-o2;
            }
        } ;
        list1.sort(comparator);
        list2.sort(comparator);
        int res[] = new int[arr.length];
        int i = 0;
        for (Integer integer : list2) {
            res[i++] = integer;
        }
        for (Integer integer : list1) {
            res[i++] = integer;
        }
        for (int re : res) {
            System.out.println(re);
        }
    }

}
